//
//  NSUserDefaults.h
//  BaseFramework
//
//  Created by hnb on 2016/11/17.
//  Copyright © 2016年 yncc. All rights reserved.
//

#import <Foundation/Foundation.h>

//用户数据的存储
@interface UserDefaults : NSUserDefaults

//读取数据
+(id)readUserDefaultObjectValueForKey:(NSString*)aKey;
//写入数据
+(void)writeUserDefaultObjectValue:(NSObject*)aValue
                           withKey:(NSString*)aKey;
//清除数据
+ (void)clearUserDefaultWithKey:(NSString *)key;
//判断包含数据
+(BOOL)hasUserDefaultWithKey:(NSString *)key;

@end
